package cwiczenia.cwiczenia5.zad6;


public class Main {
    public static void main(String[] args) {

        Kwadrat kwadrat1 = new Kwadrat(5);
        int pole = kwadrat1.obliczPole();
        int objetosc = kwadrat1.obliczObjetoscSzescianu();

        System.out.println("Kwadrat o boku " + kwadrat1.getBok()); // mamy gettera wiec wyswietli
        System.out.println("Pole = " + pole);
        System.out.println("Objetosc = " + objetosc);
    }
}
